Skip to content

[7.x.x] Typed for variable no longer failson an empty return - #248

Open
Laurettta wants to merge 1 commit into
develop-7.x.xfrom
7.x.x/hotfix/for-loop-type-check
Open

Laurettta wants to merge 1 commit into
develop-7.x.xfrom
7.x.x/hotfix/for-loop-type-check

Conversation

@Laurettta

@Laurettta Laurettta commented Nov 5, 2026 •

Copy link
Copy Markdown

A for variable with a type, like for $x as xs:string in 'X' return (), no longer gives an "Invalid cardinality" error when it returns nothing.

Closes eXist-db/exist#5050

@cla-bot cla-bot Bot added the cla-signed label Nov 5, 2026
@codacy-production

Copy link
Copy Markdown

Not up to standards ⛔

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@Laurettta Laurettta changed the title [7.x.x] typed for variable no longer failson an empty return [7.x.x] Typed for variable no longer failson an empty return Nov 17, 2026
@Laurettta
Laurettta force-pushed the 7.x.x/hotfix/for-loop-type-check branch from 099215a to f4c1807 Compare November 17, 2026 23:02
@Laurettta
Laurettta requested a review from adamretter November 18, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant